﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Management.Core.ReportConfig
{
    public class ReportConfig
    {
        [Key]
        public int ReportConfigID { get; set; }

        [Display(Name = "用户ID")]
        [Required(ErrorMessage = "必填")]
        public int AdminID { get; set; }

        [Display(Name = "模型")]
        [Required(ErrorMessage = "必填")]
        public string Model { get; set; }

        [Display(Name = "个人配置")]        
        public string Config { get; set; }

        [Display(Name = "备注")]
        public string remark { get; set; }

        [Display(Name = "创建时间")]
        public DateTime Created_at { get; set; }

        [Display(Name = "更新时间")]
        public DateTime Updated_at { get; set; }

        public virtual Admin Admin { get; set; }
    }
}
